#define _CRT_SECURE_NO_WARNINGS
#include "11.10_test.h"
int jc(int n)
{
	int count;
	if (n == 0)
	{
		return 1;
	}
	else
	{
       count = n * jc(n - 1);
	   return count;
	}
}

void zx(int number)
{
	if (number > 9)
	{
		zx(number / 10);
	}
	printf("%d ", number % 10);
}

void dy(int number, int count)
{
	int cs = 1;
	if (count ==  0)
	{
		printf("%d ", number % 10);
	}
	else
	{
		for (int a = 1; a < count + 1; a++)
		{
			cs *= 10;
		}
		dy(number, count - 1);
		printf("%d ", (number / cs) % 10);
	}
}

void dxdy(int number)
{
	int count, like;
	for (count = 0, like = number; like > 9; count++)
	{
		like /= 10;
	}
	dy(number, count);
}
